import Vue from 'vue';
import App from '@/App.vue';
import router from '@/routers/router'
import store from '@/store'
import "@vant/touch-emulator"
import 'vant/lib/index.css';
import dayjs from "dayjs"
import newRequest from '@/utils/request'
import api from '@/api/api'
import Vant from 'vant'

Vue.use(Vant)
Vue.prototype.$request = newRequest
Vue.prototype.$api = api
Vue.prototype.$dayjs = dayjs

new Vue({
  el: '#root',
  router,
  store,
  render: (h) => h(App),
});
